#ifndef MAINBUTTONLIST_H
#define MAINBUTTONLIST_H

#include <QListWidget>
#include <QWidget>

typedef struct MainButtonContent {
    QString text;
    QString icon;
    QWidget* page;
}MainButtonContent;

class MainButtonList : public QListWidget
{
    Q_OBJECT
public:
    explicit MainButtonList(QListWidget *parent = nullptr);

    void SetContent(QList<MainButtonContent> &list);

private:
    void setupUI();
    void applyStyles();

signals:
};

#endif // MAINBUTTONLIST_H
